package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.UserEcologyExpenditureTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 生态-用户-收入记录表(sc_user_ecology_expenditure_record)实体类
 *
 * @author Sun
 * @since 2023-10-20 17:57:13
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_ecology_expenditure_record")
public class UserEcologyExpenditureRecord extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 类型 1:生态积分 2:权益道具
     */
    private UserEcologyExpenditureTypeEnum type;
    /**
     * 奖励时间
     */
    private Integer dateTime;
    /**
     * 名称 1:生态积分 2:权益道具
     */
    private String typeName;
    /**
     * 备注
     */
    private String remark;
    /**
     * 奖励id
     */
    private Long linkId;
    /**
     * 奖励名称
     */
    private String linkName;
    /**
     * 奖励数量
     */
    private BigDecimal linkCount;
    /**
     * 奖励图片
     */
    private String linkImage;

}